import axios from "axios"
export default{
    getProducts(query){
        return axios.post("/api/product/getProducts",query)
    },
    addProduct(param){
        const config ={
            headers: {
                "Content-Type":"multipart/form-data"
            }
        };
        return axios.post("/api/product/addProduct",param,config);
    }
}